// File Name: led_logic.c
// Author: kukukukuku~
// Date: 2024-10-24

#include "./LED/inc/led_logic.h"
#include "apm32f00x_gpio.h"

/**
 * @brief   LED切换状态
 * @param   None
 * @retval  None
 * @note    None
*/
void led_switch_state(void)
{
    !!(GPIO_ReadOutputPort(LED_GPIO_PORT) & LED_GPIO_PIN)  == LED_STATE_OFF ?\
    LED_ON : LED_OFF;
}
